package models;

import javax.persistence.*;
import java.util.*;
import play.db.jpa.Model;

@Entity
public class RequestMirging extends Model {
@ ManyToOne
public User user;
@ ManyToMany
public List<Idea> ideas;
public long topic;
public long department;

public RequestMirging(User user,List<Idea>ideas,long topic,long department)
{
	this.user=user;
    this.ideas=ideas;
	this.topic=topic;
	this.department=department;
	
}

}
